using System;
using UnityEngine;

public class HavingFunPopupHandler : MonoBehaviour, IPopupWnd, IHandlerBase
{
	public void DoDataExchange()
	{
	}

	public void OnEnterPopup(object param)
	{
		this.curtain.SetActive(true);
	}

	public void OnLeavePopup()
	{
	}

	private void OnClickNotReally()
	{
		BMSoundHelper.Play("se_btnclick", false, 1f);
		Scene.ClosePopup("HavingFunPopup", RateType.NOTREALLY);
	}

	private void OnClickLove()
	{
		BMSoundHelper.Play("se_btnclick", false, 1f);
		Scene.ClosePopup("HavingFunPopup", RateType.LOVE);
	}

	private void OnClickClose()
	{
		BMSoundHelper.Play("se_btnclick", false, 1f);
		Scene.ClosePopup("HavingFunPopup", RateType.CLOSE);
	}

	private void OnEscape()
	{
		Scene.ClosePopup("HavingFunPopup", RateType.CLOSE);
	}

	[SerializeField]
	private tk2dCamera cam;

	[SerializeField]
	private GameObject curtain;
}
